package org.qqcui.designpattern.patterns.adapter.interfaze;

/**
 * desc
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/4/28 17:17
 **/
public class Client {

    public static void main(String[] args) {
        AbsAdapter absAdapter = new AbsAdapter() {
            @Override
            public void operation1() {
                System.out.println("使用了operation1方法");
            }
        };
        absAdapter.operation1();
    }
}
